import { createApp } from 'vue'
import '@/style/reset.scss'

import App from './App.vue'


import HospitalTop from  '@/components/hospital_top/index.vue'
import HospitalBottom from  '@/components/hospital_bottom/index.vue'


// 引入路由
//@ts-ignore
import router from '@/router'
// 引入 elementPlus 插件
// npm install element-plus --save
import elementPlus from 'element-plus'
// import 'element-plus/theme-chalk/index.css';
import 'element-plus/dist/index.css'
// npm install @element-plus/icons-vue
//@ts-ignore
import zhCn from 'element-plus/es/locale/lang/zh-cn'

const app = createApp(App)
app.use(router)
// app.use(elementPlus);
app.component('HospitalTop', HospitalTop)
app.component('HospitalBottom', HospitalBottom)
app.use(elementPlus, {
    locale: zhCn,
})

app.mount('#app')
